core: Drop "staged" state for objects, refactor pull to split metadata/data
authorColin Walters <walters@verbum.org>
Mon, 2 Apr 2012 23:52:22 +0000 (19:52 -0400)
committerColin Walters <walters@verbum.org>
Mon, 2 Apr 2012 23:52:22 +0000 (19:52 -0400)
commit9c7a47434d4355848b9a2197472f37fbdc9df469
tree688b1701001a6be7e9e68400c884f37794c47713
parent56089abd4308ce5b94a2d8bbc12c0f6affe47a03
core: Drop "staged" state for objects, refactor pull to split metadata/data

Previously we had the "staged" state to ensure we didn't add a commit
object without the associated dirtree, etc.  However it's
easier/better to just ensure in the pull command that we have all
referenced objects.

Also change pull to download metadata first.  This will allow adding
a progress bar later.
src/libostree/README.md
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ostree-pull.c